/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tp.Inheritance.Service;

import tp.Inheritance.Model.Bicycle;




/**
 *
 * @author Devon
 */
public class BicycleServiceImpl implements BicycleService {

    public void setCadence(Bicycle b)
    {
        b.setCadence(10);
    }

    public void setGear(Bicycle b)
    {
        b.setGear(20);
    }

    public void applyBrake(Bicycle b)
    {
        b.applyBrake(4);
    }

    public void speedUp(Bicycle b)
    {
        b.speedUp(5);
    }

}
